package entity;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by Germmy on 2019/3/24.
 */
@Component
//@Configuration
public class MyConfig {

    @Value("${server.port}")
    private  String myServerUrl;

    public String getMyServerUrl() {
        return myServerUrl;
    }

    public void setMyServerUrl(String myServerUrl) {
        this.myServerUrl = myServerUrl;
    }
}
